package other;

public class A {
	int a;

	A() {
		a = 99;
		fun();
	}

	void fun() {
		System.out.println(a);
	}

	public static void main(String[] args) {
		A a = new B();
	}
}

class B extends A {
	int a;

	B() {
		a = 88;
	}

	void fun() {
		System.out.println(a);
	}

}